<script src="__PUBLIC__/js/jquery.datePicker-min.js" type="text/javascript"></script>
<link href="__PUBLIC__/js/datePicker.css" rel="stylesheet" type="text/css" />
<style>
<!--
.lang{display:inline-block; border:1px solid #333; background-color:#CCCCCC; color:#000000; width:88px; height:22px; line-height:22px; text-align:center;}
a.lang:hover{border:1px solid #000000; background-color:#666666; color:#FFFFFF;}
-->
</style>
<script language="JavaScript" type="text/javascript">
$(document).ready(function(){
	$("#typeid").change(function(){
		var id=this.value;
		ch_type(id);
	});
	$('.showend_job').datePicker({clickInput:true});
	var typeid=$("#typeid").val();
	if(typeid!=0){
		ch_type(typeid);
	}
	$("#add_ltd").click(function(){
		var title=$("#ltdtitle").val();
		if(title){
			var tourl=URL+'/ajax_add_ltd';
			$.post(tourl,{title:title},function(data){
				if(data['status']==1){
					var t="<option value='"+data[data]+"' selected='selected'>"+title+"</option>";
					$("#ltdid").append(t);
					alert(data['info']);
				}else{
					alert(data['info']);
				}
			},'json')
		}
	});
});
function ch_type(id){
	id=id.split('_');
	var cache=$("#cache").html();
	id="#channel_"+id['0'];
	if(id!=cache){
		$("#channel").html($(id).html());
		$("#cache").html(id);
	}
}
function zone(obj,id,name){
	if(name==0){
		var cid=obj.options[obj.options.selectedIndex].value;
	}else{
		var cid=obj.options[obj.options.selectedIndex].className;
	}
	$(id).load(URL+'/ajax_zone',{cid:cid,types:'localion',name:name});
}
</script>
<div class="mulu">
	<a href="__APP__/">Home</a> > <a href="__APP__/Cp/index">Control Panel</a> > 
	<a href="__APP__/Cp/my_fair_post">Fairs</a>
</div>
<div class="right-neirong">
    <div class="clear">
    </div>
    <div class="right-messages">
        <div class="right-title">
            <h3 style="margin:0;">Post Fairs / 发布展会信息</h3>
        </div>
        <div class="list">
        	<fieldset>
				<legend>Select Language / 选择语言:</legend>
				<div style="float:left;width:530px;overflow:hidden;">
				<p>
					<label for="lang" style="width:150px;">Language / 语言:</label>
					<a href="__URL__/my_post_fair/lang/EN" class="lang">Einglish </a>    or/或者       <a href="__URL__/my_post_fair/lang/CN" class="lang">中文 </a>
					
				</p>
				</div>
			</fieldset>
				
        </div>
    </div>
</div>
<div class="clear"></div>


